package businesslogicservice;

import java.util.ArrayList;

import vo.ChooseCourseVO;
import vo.CourseVO;
import vo.StudentVO;

public class ChooseCourseBLService_Stub implements ChooseCourseBLService{
	double score;
	long studentId;
	String studentName;
    long courseId;
	String courseName;
	
	public ChooseCourseBLService_Stub(){
		
	}
	
	public ChooseCourseBLService_Stub(double score, long studentId,
			String studentName, long courseId, String courseName) {
		super();
		this.score = score;
		this.studentId = studentId;
		this.studentName = studentName;
		this.courseId = courseId;
		this.courseName = courseName;
	}

	@Override
	public ChooseCourseVO getChooseCourseRecord(long id) {
		// TODO Auto-generated method stub
		return new ChooseCourseVO();
	}

	@Override
	public ArrayList<StudentVO> getStuList(CourseVO vo){
		ArrayList<StudentVO> students= new ArrayList<StudentVO>();
		students.add(new StudentVO());
		return students;
	}


	@Override
	public ArrayList<ChooseCourseVO> getAllChooseCourseRecord() {
		ArrayList<ChooseCourseVO> chooseCourses=new ArrayList<ChooseCourseVO>();
		chooseCourses.add(new ChooseCourseVO());
		return chooseCourses;
	}

	@Override
	public ResultMessage chooseACourse(CourseVO vo1, StudentVO vo2) {
		return ResultMessage.EXIST;
	}
	
	public ResultMessage chooseCourse(ArrayList<ChooseCourseLineItem> items){
		return ResultMessage.EXIST;
	}

	@Override
	public ResultMessage deleteAChooseCourse(ChooseCourseVO vo) {
		return ResultMessage.EXIST;
	}

	@Override
	public ResultMessage setScore(ChooseCourseVO vo, double score) {
		return ResultMessage.EXIST;
	}

	@Override
	public double getScore(ChooseCourseVO vo) {
		// TODO Auto-generated method stub
		return score;
	}
}

